package com.tem.payment.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 腾木
 * @since 2023-11-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("payment_method")
@ApiModel(value="PaymentMethod对象", description="")
public class PaymentMethod implements Serializable {

    private static final long serialVersionUID=1453465687090093L;

    @ApiModelProperty(value = "支付方式")
    @TableId(value = "payment_method_id", type = IdType.AUTO)
    private Long paymentMethodId;

    @ApiModelProperty(value = "部门 店铺")
    @TableField("sys_branch_office_id")
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "1第三方在线支付  2非在线支付")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "状态 1激活  0未激活")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "支付名称")
    @TableField("method_name")
    private String methodName;

    @ApiModelProperty(value = "支付详细描述")
    @TableField("method_detail")
    private String methodDetail;

    @ApiModelProperty(value = "排序 降序")
    @TableField("seq")
    private Integer seq;

    @ApiModelProperty(value = "支付方式logo图片")
    @TableField("logo_url")
    private String logoUrl;

    @ApiModelProperty(value = "支付请求地址")
    @TableField("req_url")
    private String reqUrl;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;


}
